<%@ page language="java"  pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>" />
	<title>武汉科技大学  嵌入式实验室系统</title>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
		<!-- stylesheets -->
		<link rel="stylesheet" type="text/css" href="resources/css/reset.css" />
		<link rel="stylesheet" type="text/css" href="resources/css/style.css" media="screen" />
		<link id="color" rel="stylesheet" type="text/css" href="resources/css/colors/blue.css" />
		<!-- scripts (jquery) -->
		<script src="resources/scripts/jquery-1.4.2.min.js" type="text/javascript"></script>
		<!--[if IE]><script language="javascript" type="text/javascript" src="resources/scripts/excanvas.min.js"></script><![endif]-->
		<script src="resources/scripts/jquery-ui-1.8.custom.min.js" type="text/javascript"></script>
		<script src="resources/scripts/jquery.ui.selectmenu.js" type="text/javascript"></script>
		<script src="resources/scripts/jquery.flot.min.js" type="text/javascript"></script>
		<script src="resources/scripts/tiny_mce/tiny_mce.js" type="text/javascript"></script>
		<script src="resources/scripts/tiny_mce/jquery.tinymce.js" type="text/javascript"></script>
		<!-- scripts (custom) -->
		<script src="resources/scripts/smooth.js" type="text/javascript"></script>
		<script src="resources/scripts/smooth.menu.js" type="text/javascript"></script>
		<script src="resources/scripts/smooth.chart.js" type="text/javascript"></script>
		<script src="resources/scripts/smooth.table.js" type="text/javascript"></script>
		<script src="resources/scripts/smooth.form.js" type="text/javascript"></script>
		<script src="resources/scripts/smooth.dialog.js" type="text/javascript"></script>
		<script src="resources/scripts/smooth.autocomplete.js" type="text/javascript"></script>
		<script type="text/javascript">
			$(document).ready(function () {
				style_path = "resources/css/colors";

				$("#date-picker").datepicker();

				$("#box-tabs, #box-left-tabs").tabs();
			});
		</script>
	</head>	
		<!-- content -->
			<!-- content / right -->
			<div id="right">				
			  <div class="box">
					<!-- box / title -->
					<div class="title">
						<h5>添加新闻</h5>
					</div>
					<!-- end box / title -->
					<form id="form" action="admin/info!add" method="post">
					<div class="form">
						<div class="fields">
							<div class="field  field-first">
								<div class="label">
									<label for="input-small">标题:</label>
								</div>
								<div class="input">
									<input type="text" id="title" name="info_Dto.title" class="small" />									
								</div>
							</div>
							<div class="field">
								<div class="label label-textarea">
									<label for="textarea">内容:</label>
								</div>
								<div class="input">
									<textarea id="content" name="info_Dto.content" cols="35" rows="6" class="editor"></textarea>
								</div>
							</div>     				               
							<div class="field">
								<div class="label">
									<label for="input-large">作者:</label>
								</div>
								<div class="input">
									<input type="text" id="author" name="info_Dto.author" class="small" />
								</div>
							</div>							               
							<div class="field">
								<div class="label">
									<label for="autocomplete">新闻类别:</label>
								</div>
								<div class="input">
									<input type="text" id="kind" name="info_Dto.kind" class="small" />
								</div>
							</div>		
							<div class="buttons">
								<input type="submit" name="submit" value="提交" />&nbsp;&nbsp;&nbsp;&nbsp;
								<input type="reset" name="reset" value="重置" />
								
							</div>
						</div>
					</div>
					</form>
				</div>
				<!-- end forms -->
			</div>
			<!-- end content / right -->
		
	</body>
</html>